package com.horizon.manage.site.service;

import com.horizon.common.exception.HorizonException;
import com.horizon.manage.site.dto.SiteDTO;
import com.horizon.manage.site.entity.Site;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * 场地service.
 *
 * @author zhaoshb
 * @since 2022/12/5 23:51
 */
public interface ISiteService extends BaseService<Site> {

    List<Long> querySiteSupportItemList(Long siteId);

    Long saveSite(SiteDTO siteDTO) throws HorizonException;

    boolean deleteSite(Long siteId) throws HorizonException;

    boolean updateSite(SiteDTO siteDTO) throws HorizonException;
}
